package com.jader.activities;

import com.jader.fragment.MerchantFragment;
import com.zlp.jader.R;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

public class Merchant extends FragmentActivity {

	private FragmentManager manager;
	private FragmentTransaction transaction;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.merchant_main_activity);
		manager = getSupportFragmentManager();
		transaction = manager.beginTransaction();
		MerchantFragment merchantFragment = new MerchantFragment();
		transaction.replace(R.id.merchant_frame, merchantFragment);
		transaction.commit();
	}

}
